# $Id: PKGBUILD 84348 2013-02-16 22:50:27Z ioni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ffmpeg2theora
pkgver=0.29
pkgrel=3
pkgdesc="Simple converter to create Ogg Theora files"
arch=('x86_64' 'i686')
url="http://www.v2v.cc/~j/ffmpeg2theora/"
license=('GPL')
depends=('ffmpeg')
makedepends=('scons') # 'libkate')
source=("http://www.v2v.cc/~j/$pkgname/downloads/$pkgname-$pkgver.tar.bz2")
sha256sums=('214110e2a5afdd8ff8e0be18152e893dbff5dabc1ae1d1124e64d9f93eae946d')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  scons
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  scons install destdir="$pkgdir" prefix="/usr" mandir="PREFIX/share/man"
}

# vim:set ts=2 sw=2 et:
